package o;

import android.graphics.Bitmap;
import androidx.annotation.NonNull;
import com.bumptech.glide.load.resource.bitmap.Downsampler;
import java.io.IOException;
import java.nio.ByteBuffer;

public class wk implements se<ByteBuffer, Bitmap> {
    private final Downsampler ˊ;

    public /* synthetic */ boolean ˊ(@NonNull Object obj, @NonNull sc scVar) throws IOException {
        return ॱ((ByteBuffer) obj, scVar);
    }

    public /* synthetic */ tx ˎ(@NonNull Object obj, int i, int i2, @NonNull sc scVar) throws IOException {
        return ˊ((ByteBuffer) obj, i, i2, scVar);
    }

    public wk(Downsampler downsampler) {
        this.ˊ = downsampler;
    }

    public boolean ॱ(@NonNull ByteBuffer byteBuffer, @NonNull sc scVar) {
        return this.ˊ.handles(byteBuffer);
    }

    public tx<Bitmap> ˊ(@NonNull ByteBuffer byteBuffer, int i, int i2, @NonNull sc scVar) throws IOException {
        return this.ˊ.decode(aam.ˊ(byteBuffer), i, i2, scVar);
    }
}
